#!/usr/bin/python

_Copyright = "Copyright @ 2010 Michael P. Reilly. All rights reserved."

_SCM_ID = "$Id$"

import logging
import wsgiref.handlers
from google.appengine.ext import webapp

__all__ = [
  'logging',
  'main',
]

def main(URL_Map, loglevel=logging.DEBUG):
    logging.basicConfig(level=loglevel)
    application = webapp.WSGIApplication(URL_Map, debug=True)
    wsgiref.handlers.CGIHandler().run(application)

